package com.hqyj.cloudTest.service;


import com.github.pagehelper.PageInfo;
import com.hqyj.entity.Test.City;
import com.hqyj.entity.common.vo.Result;
import com.hqyj.entity.common.vo.Search;

import java.util.List;

/**
 * personal demo
 **/

public interface CityService {

    Result<City> insertCity(City city);

    Result<City> updateCity(City city);

    Result<Object>deleteCity(int Id);

    City selectCityById(int id);

    PageInfo<City> getCitiesBySearch(Search search);

    List<City> getCitiesByCountryId(Integer id);


}
